<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<input type="button" value="返回按钮" onclick="goBack()">
<input type="button" value="随机跳转" onclick="goRandom()">
<script>
    console.log(screen.availWidth);
    console.log(screen.availHeight);
    console.log(screen.width);
    console.log(screen.height);
    // console.log(screen.logicalXDPI);
    // console.log(screen.logicalYDPI);
    // console.log(screen.deviceXDPI);
    // console.log(screen.deviceYDPI);
    // console.log(screen.bufferDepth);
    // console.log(screen.colorDepth);
    console.log(screen.fontSmoothingEnabled);
    console.log(screen.pixelDepth);
    console.log(screen.updateInterval);

    // console.log(screen.pixelDepth);
</script>
</body>
</html>